package cn.stylefeng.guns.modular.demo.excel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 30)
@HeadFontStyle(fontHeightInPoints = 20)
//@ContentStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 17)
@ContentFontStyle(fontHeightInPoints = 10)
public class SaleReportVO {
    @ExcelProperty("入库时间")
    @DateTimeFormat("yyyy/MM")
    private Long saleTime;
    @ExcelProperty("供应商编码")
    private String supplierCode;
    @ExcelProperty("供应商名字")
    private String supplierName;
    @ExcelProperty("商品编码")
    private String commodityCode;
    @ExcelProperty("商品名字")
    private String commodityName;


    @ExcelProperty("入库数量")
    private Integer saleNum;
    @ExcelProperty("总数量")
    private Integer totalNum;
    @ExcelProperty("现金金额(元)")
    private BigDecimal cashPrice;
    @ExcelProperty("票折金额(元)")
    private BigDecimal ticketPrice;

}
